<?php if (!defined('THINK_PATH')) exit();?><html>
<head>
</head>
<body>
  <?php if(is_array($data['data'])): foreach($data['data'] as $key=>$v): if(empty($v['_data'])): ?><li class="b-nav-li">
        	<a href="<?php echo U($v['mca']);?>" target="right_content">
        		<i class="fa fa-<?php echo ($v['ico']); ?> icon-test"></i>
            	<span class="menu-text"> <?php echo ($v['name']); ?> </span>
            </a>
     	</li>
  	<?php else: ?>
    	<li class="b-has-child">
                            <a href="#" class="dropdown-toggle b-nav-parent">
                                <i class="fa fa-<?php echo ($v['ico']); ?> icon-test"></i>
                                <span class="menu-text"> <?php echo ($v['name']); ?> </span>

                                <b class="arrow icon-angle-down"></b>
                            </a>
                            <ul class="submenu">
                                <?php if(is_array($v['_data'])): foreach($v['_data'] as $key=>$n): ?><li class="b-nav-li">
                                        <a href="<?php echo U($n['mca']);?>" target="right_content">
                                            <i class="icon-double-angle-right"></i>
                                            <?php echo ($n['name']); ?>
                                        </a>
                                    </li><?php endforeach; endif; ?>
                            </ul>
                        </li><?php endif; endforeach; endif; ?>

</body>
</html>